home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.n / source.n < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ssssoooouuuurrrrcccceeee((((nnnn))))                    TTTTccccllll (((( ))))                    ssssoooouuuurrrrcccceeee((((nnnn))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           source - Evaluate a file as a Tcl script
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           ssssoooouuuurrrrcccceeee _f_i_l_e_N_a_m_e
  15.      _________________________________________________________________
  16.  
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           Read  file  _f_i_l_e_N_a_m_e  and  pass  the  contents  to  the  Tcl
  20.           interpreter  as  a script to evaluate in the normal fashion.
  21.           The return value from ssssoooouuuurrrrcccceeee is the return value of the last
  22.           command  executed  from  the  file.   If  an error occurs in
  23.           evaluating the contents of the file then the ssssoooouuuurrrrcccceeee  command
  24.           will return that error.  If a rrrreeeettttuuuurrrrnnnn command is invoked from
  25.           within the file then the  remainder  of  the  file  will  be
  26.           skipped and the ssssoooouuuurrrrcccceeee command will return normally with the
  27.           result from the rrrreeeettttuuuurrrrnnnn command.  If _f_i_l_e_N_a_m_e starts  with  a
  28.           tilde,  then  it  is  tilde-substituted  as described in the
  29.           TTTTccccllll____TTTTiiiillllddddeeeeSSSSuuuubbbbsssstttt manual entry.
  30.  
  31.  
  32.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  33.           file, script
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/17/95)
  64.  
  65.  
  66.  
  67.